<div class="layui-card-body">
    <form class="layui-form" action="{:url()}"  method="post">
        <div class="layui-form-item">
            <label class="layui-form-label">节假日名称</label>
            <div class="layui-input-inline">
                <input type="text" name="info" value="{$info.title|default=''}" class="layui-input" autocomplete="off"
                       placeholder="不要超过32个汉字">
            </div>
        </div>
        <div class="layui-form-item">
            <label class="layui-form-label">开始时间</label>
            <div class="layui-input-inline">
                <input type="text" name="s_time" value="{$info.s_time|default=''}" class="layui-input"
                       autocomplete="off" lay-verify="required" placeholder="" id="s_time" readonly>
            </div>

        </div>

    </form>
</div>
<script type="text/javascript">
    layui.use(['form', 'layer', 'formSelects'], function () {
        var form = layui.form
            , formSelects = layui.formSelects
            , $ = layui.$
            , laydate = layui.laydate;

        laydate.render({
            elem: '#s_time'
            ,range: true
        });


    });
</script>






